package com.shuiyun.chat.enums;

import lombok.Getter;

/**
 * @author shuiyun
 * @program chatServer
 * @description: redis缓存聊天信息key
 * @create 2021-05-14 16:10
 **/
public enum ChatSessionKey {

    // 聊天类型
    simpleChat("simple:"),
    groupChat("groupChat:");

    @Getter
    private final String key;

    ChatSessionKey(String key){
        this.key = key;
    }
}
